local qunxian3__baishoukaiduo_longjuanhuaifeng = fk.CreateSkill {

  name = "qunxian3__baishoukaiduo_longjuanhuaifeng",

  tags = { Skill.Compulsory, },

}

Fk:loadTranslationTable {
  ["qunxian3__baishoukaiduo_longjuanhuaifeng"] = "龙卷坏风",
  [":qunxian3__baishoukaiduo_longjuanhuaifeng"] = [[锁定技，你对一名其他角色造成伤害后，其额外失去两点体力且其使用下一张牌失效。]],
  ["@qunxian3__baishoukaiduo_longjuanhuaifeng"] = "龙卷坏风",
  ["$qunxian3__baishoukaiduo_longjuanhuaifeng"] = "龙卷坏风",
}

qunxian3__baishoukaiduo_longjuanhuaifeng:addEffect(fk.Damage, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(qunxian3__baishoukaiduo_longjuanhuaifeng.name) and data.to ~= player
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    room:loseHp(data.to, 2, "qunxian3__baishoukaiduo_longjuanhuaifeng")
    room:addPlayerMark(data.to, "@qunxian3__baishoukaiduo_longjuanhuaifeng", 1)
  end
})

qunxian3__baishoukaiduo_longjuanhuaifeng:addEffect(fk.TargetSpecified, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target:getMark("@qunxian3__baishoukaiduo_longjuanhuaifeng") > 0 and
        player:hasSkill("qunxian3__baishoukaiduo_longjuanhuaifeng")
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    data.nullified = true
    room:removePlayerMark(target, "@qunxian3__baishoukaiduo_longjuanhuaifeng")
  end
})



return qunxian3__baishoukaiduo_longjuanhuaifeng
